<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ViewComments.aspx.vb" Inherits="Case_ViewComments" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Comments Viewer</title>
     <style type="text/css">
     

        
           .labelNoAlign {
            font-family: ms sans serif,arial,verdana,helvetica,sans-serif;
            font-size: .85em;
            margin: .9em .5em 0em 0em;
            display: block;
            float: left;
            /* border: solid 1px green; */
        }
        
        
          H1 { font-family:MS Sans Serif, Arial, Verdana, Sans-Serif; 
	     font-size: 1em; 
             font-weight:bold; 
             color:#21334B
           }

        
    </style>
    <script language="javascript" type="text/javascript">
    function pageStart()
    {
      //self.window.dialogWidth=500;
      //self.window.dialogHeight=500;
    }
    </script>
</head>
<body onload="pageStart();">
    <form id="form1" runat="server">
    <div>
    <h1><asp:Label ID="PageDescriptionLabel" runat="server"></asp:Label></h1>
    <table class="labelNoAlign" style="width: 750px">
    <tr><td style="font-weight:bold; width: 750px;"><asp:Label ID="RecordDescriptionLabel" runat="server"></asp:Label></td></tr>
    <tr><td style="width: 750"></td></tr>
    <tr><td style="font-weight:bold; width: 750;">Comments:</td></tr>
    <tr><td style="width: 750"><asp:Label ID="CommentsLabel" runat="server">These are the comments.</asp:Label></td></tr>
        <tr>
            <td align="center" style="width: 750px; text-align: left">
            </td>
        </tr>
        <tr>
            <td align="center" style="width: 750px; text-align: left">
                <strong>Responses:</strong></td>
        </tr>
        <tr>
            <td align="center" style="width: 750px; text-align: left">
               <div style="height:300px; overflow: auto;">
                <asp:GridView ID="CommentsGridView" runat="server" AutoGenerateColumns="false" CellPadding="5" BorderColor="Gray" BorderStyle="Solid" GridLines="Vertical">
                 <HeaderStyle   CssClass="headerStyle" BackColor="#949FB1" BorderColor="Gray" VerticalAlign="Middle" />
                    <RowStyle CssClass="columnStyle" />
                    <AlternatingRowStyle BackColor="#E8ECF4" />
                  <Columns>
                  <asp:BoundField HeaderText="Date" DataField="DateModified" ItemStyle-Width="150px" />
                   <asp:BoundField HeaderText="Response By:" DataField="AuthorDisplayLastNameFirst" ItemStyle-Width="150px" />
                   <asp:BoundField HeaderText="Response" DataField="Note" ItemStyle-Width="450px" />
                  </Columns>
                </asp:GridView>
                </div>
            </td>
        </tr>
        <tr><td></td></tr>
        <tr>
            <td align="left" style="width: 750px;">
                 <strong>Enter Response:</strong>
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 750px;">
                <asp:TextBox ID="ResponseTextBox" runat="server" Height="40px" TextMode="MultiLine"
                    Width="550px"></asp:TextBox></td>
        </tr>
    <tr><td align="center" style="width: 750px; height: 27px">
        &nbsp;<asp:Button ID="PostReponseButton" runat="server" Text="Post Response" />
        <input id="closeButton" runat="server" type="button" value="Close" onclick="self.close();" /></td></tr></table>
    </div>
    </form>
</body>
</html>
